package com.geilizu.dom.service;

import com.geilizu.dom.dto.SearchDto;
import com.geilizu.dom.entity.DormitoryAdmin;
import com.geilizu.dom.entity.Student;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;
import java.util.Map;

/**
 * (Student)表服务接口
 *
 * @author makejava
 * @since 2022-07-12 17:42:43
 */
public interface StudentService {


    List<Student> queryByDormitoryId(Integer id);

    Map<String, Object> list(Integer page, Integer size);

    Map<String, Object> search(SearchDto searchDto);

    Integer deleteById(Integer id);

    Integer updateById(Student student);

    boolean save(Student student);

    Student findById(Integer id);
}
